namespace JanusLibAing.EventsArg
{
    using System;

    /// <summary>
    /// Event argument with numeric id
    /// Id is context dependent. It could be error code related to exception
    /// </summary>
    public class EnumEventArgs : EventArgs
    {
        private readonly Enum enumData;

        public EnumEventArgs(Enum id)
        {
            //this.intData = id;
            enumData = id;
        }

        public Enum EnumData
        {
            get
            {
                return enumData;
            }
        }
    }
}